| Description | : Searches for documents in the index. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "Documents_SearchGet",
"$responses": {
"200": {
"$properties": [
{
"#name": "@search.nextPageParameters",
"Description": {
"new": "Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with",
"old": "Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
}
},
{
"value": {
"$properties": {
"@search.documentDebugInfo": [
{
"vectors": [
{
"subscores": [
{
"#name": "vectors",
"Description": {
"new": "The vector similarity and",
"old": "The vector similarity and @search.score values for each vector query."
}
}
]
}
]
}
]
}
}
}
]
},
"206": {
"$properties": [
{
"#name": "@search.nextPageParameters",
"Description": {
"new": "Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with",
"old": "Continuation JSON payload returned when the query can't return all the requested results in a single response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
}
},
{
"value": {
"$properties": {
"@search.documentDebugInfo": [
{
"vectors": [
{
"subscores": [
{
"#name": "vectors",
"Description": {
"new": "The vector similarity and",
"old": "The vector similarity and @search.score values for each vector query."
}
}
]
}
]
}
]
}
}
}
]
}
}
}
⚼ Request
GET:
/indexes('{indexName}')/docs
{
api-version:
string
,
Accept:
string
,
x-ms-query-source-authorization:
string
,
x-ms-enable-elevated-read:
boolean
,
search:
string
,
$count:
boolean
,
facet:
array
,
$filter:
string
,
highlight:
array
,
highlightPostTag:
string
,
highlightPreTag:
string
,
minimumCoverage:
number
,
$orderby:
array
,
queryType:
string
,
scoringParameter:
array
,
scoringProfile:
string
,
searchFields:
array
,
searchMode:
string
,
scoringStatistics:
string
,
sessionId:
string
,
$select:
array
,
$skip:
integer
,
$top:
integer
,
semanticConfiguration:
string
,
semanticErrorHandling:
string
,
semanticMaxWaitInMilliseconds:
integer
,
answers:
string
,
captions:
string
,
semanticQuery:
string
,
queryRewrites:
string
,
debug:
string
,
queryLanguage:
string
,
speller:
string
,
semanticFields:
array
,
x-ms-client-request-id:
string
,
indexName:
string
,
}
⚐ Response (200)
{
@odata.count:
integer
,
@search.coverage:
number
,
@search.facets:
object
,
@search.answers:
[
]
,
{
,
score:
number
,
key:
string
,
text:
string
,
highlights:
string
,
}
@search.debug:
{
,
queryRewrites:
}
{
,
text:
{
,
inputQuery:
string
,
rewrites:
}
[
,
string
,
]
vectors:
}
[
]
,
{
,
inputQuery:
string
,
rewrites:
}
[
,
string
,
]
@search.nextPageParameters:
{
,
count:
boolean
,
facets:
[
,
string
,
]
filter:
string
,
highlight:
string
,
highlightPostTag:
string
,
highlightPreTag:
string
,
minimumCoverage:
number
,
orderby:
string
,
queryType:
enum
,
scoringStatistics:
enum
,
sessionId:
string
,
scoringParameters:
[
,
string
,
]
scoringProfile:
string
,
debug:
enum
,
search:
string
,
searchFields:
string
,
searchMode:
enum
,
queryLanguage:
enum
,
speller:
enum
,
select:
string
,
skip:
integer
,
top:
integer
,
semanticConfiguration:
string
,
semanticErrorHandling:
enum
,
semanticMaxWaitInMilliseconds:
integer
,
semanticQuery:
string
,
answers:
enum
,
captions:
enum
,
queryRewrites:
enum
,
semanticFields:
string
,
vectorQueries:
[
]
,
{
,
k:
integer
,
fields:
string
,
exhaustive:
boolean
,
oversampling:
number
,
weight:
number
,
threshold:
{
,
kind:
enum
,
}
filterOverride:
string
,
perDocumentVectorLimit:
integer
,
kind:
enum
,
}
vectorFilterMode:
enum
,
hybridSearch:
}
{
,
maxTextRecallSize:
integer
,
countAndFacetMode:
enum
,
}
value:
[
]
,
{
,
@search.score:
number
,
@search.rerankerScore:
number
,
@search.rerankerBoostedScore:
number
,
@search.highlights:
object
,
@search.captions:
[
]
,
{
,
text:
string
,
highlights:
string
,
}
@search.documentDebugInfo:
}
{
,
semantic:
{
,
titleField:
{
,
name:
string
,
state:
enum
,
}
contentFields:
[
]
,
{
,
name:
string
,
state:
enum
,
}
keywordFields:
[
]
,
{
,
name:
string
,
state:
enum
,
}
rerankerInput:
}
{
,
title:
string
,
content:
string
,
keywords:
string
,
}
vectors:
{
,
subscores:
}
{
,
text:
{
,
searchScore:
number
,
}
vectors:
[
,
object
,
]
documentBoost:
number
,
}
innerHits:
object
,
}
@odata.nextLink:
string
,
@search.semanticPartialResponseReason:
enum
,
@search.semanticPartialResponseType:
enum
,
@search.semanticQueryRewritesResultType:
enum
,
}
⚐ Response (206)
{
@odata.count:
integer
,
@search.coverage:
number
,
@search.facets:
object
,
@search.answers:
[
]
,
{
,
score:
number
,
key:
string
,
text:
string
,
highlights:
string
,
}
@search.debug:
{
,
queryRewrites:
}
{
,
text:
{
,
inputQuery:
string
,
rewrites:
}
[
,
string
,
]
vectors:
}
[
]
,
{
,
inputQuery:
string
,
rewrites:
}
[
,
string
,
]
@search.nextPageParameters:
{
,
count:
boolean
,
facets:
[
,
string
,
]
filter:
string
,
highlight:
string
,
highlightPostTag:
string
,
highlightPreTag:
string
,
minimumCoverage:
number
,
orderby:
string
,
queryType:
enum
,
scoringStatistics:
enum
,
sessionId:
string
,
scoringParameters:
[
,
string
,
]
scoringProfile:
string
,
debug:
enum
,
search:
string
,
searchFields:
string
,
searchMode:
enum
,
queryLanguage:
enum
,
speller:
enum
,
select:
string
,
skip:
integer
,
top:
integer
,
semanticConfiguration:
string
,
semanticErrorHandling:
enum
,
semanticMaxWaitInMilliseconds:
integer
,
semanticQuery:
string
,
answers:
enum
,
captions:
enum
,
queryRewrites:
enum
,
semanticFields:
string
,
vectorQueries:
[
]
,
{
,
k:
integer
,
fields:
string
,
exhaustive:
boolean
,
oversampling:
number
,
weight:
number
,
threshold:
{
,
kind:
enum
,
}
filterOverride:
string
,
perDocumentVectorLimit:
integer
,
kind:
enum
,
}
vectorFilterMode:
enum
,
hybridSearch:
}
{
,
maxTextRecallSize:
integer
,
countAndFacetMode:
enum
,
}
value:
[
]
,
{
,
@search.score:
number
,
@search.rerankerScore:
number
,
@search.rerankerBoostedScore:
number
,
@search.highlights:
object
,
@search.captions:
[
]
,
{
,
text:
string
,
highlights:
string
,
}
@search.documentDebugInfo:
}
{
,
semantic:
{
,
titleField:
{
,
name:
string
,
state:
enum
,
}
contentFields:
[
]
,
{
,
name:
string
,
state:
enum
,
}
keywordFields:
[
]
,
{
,
name:
string
,
state:
enum
,
}
rerankerInput:
}
{
,
title:
string
,
content:
string
,
keywords:
string
,
}
vectors:
{
,
subscores:
}
{
,
text:
{
,
searchScore:
number
,
}
vectors:
[
,
object
,
]
documentBoost:
number
,
}
innerHits:
object
,
}
@odata.nextLink:
string
,
@search.semanticPartialResponseReason:
enum
,
@search.semanticPartialResponseType:
enum
,
@search.semanticQueryRewritesResultType:
enum
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}